﻿using KayakMes.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yitter.IdGenerator;

namespace KayakMes.Check.Domain
{
    [SugarTable("Version")]
    public class VersionModel
    {
        /// <summary>
        /// 获取或设置实体的唯一标识，使用雪花算法生成全局唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }=YitIdHelper.NextId();
        /// <summary>
        /// 报价名称
        /// </summary>
        public string VersionName { get; set; }

        public DateTime CreateTime { get; set;}=DateTime.Now;
       

        [SugarColumn(IsNullable = true)]
        public DateTime UpdateTime { get; set; }
    }
}
